package helpers;

public class ObjectCount implements Comparable<ObjectCount> {

	private Object object;
	private Integer count;
	
	ObjectCount ()
	{
		
	}
	public Object getObject() {
		return object;
	}
	public void setObject(Object object) {
		this.object = object;
	}
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
	@Override
	public int compareTo(ObjectCount o) {
		return count.compareTo(o.count);
	}
	
}
